<script setup>
import ShopCar from "@/components/ShopCar.vue";
import {useRouter} from "vue-router";
let router = useRouter();
const onClickLeft = () => {
  router.back()
}
</script>

<template>
  <div class="shopcar">
    <van-nav-bar
        title="购物车"
        left-text="返回"
        left-arrow
        @click-left="onClickLeft"
    />
    <ShopCar/>
  </div>
</template>

<style scoped>

</style>